<div class="submit-form">
    <table class="submit-table">
        <tr>
            <td class="label">角色：</td>
            <td><input name="roleId" class="easyui-textbox" data-options="required:true"></td>
        </tr>
    </table>
</div>

<script type="text/javascript">
    $('input[name="roleId"]').combobox({
        url: Api.User.ROLE + '/list_all',
        method: 'GET',
        valueField: 'id',
        textField: 'name'
    });
</script>